import 'package:dartkit/dartkit.dart';
import 'package:test/test.dart';

void main() {
  test("原始值判断", () {
    expect(isPrimitive("str"), true);
    expect(isPrimitive(true), true);
    expect(isPrimitive(2), true);
    expect(isPrimitive(2.0), true);
    expect(isPrimitive({}), false);
    expect(isPrimitive([]), false);
  });
}
